using Admin.NET.Core;
using SqlSugar;

namespace Admin.NET.Application.Entity.Business;

[SugarTable("OperationLog", "操作记录")]
[SysTable]
public class OperationLog : EntityTenant
{
	/// <summary>
	/// 操作Id
	/// </summary>
	public long? OperaId { get; set; }

	/// <summary>
	/// 操作对象
	/// </summary>
	public string? Operat { get; set; }

	/// <summary>
	/// 操作名称
	/// </summary>
	public string OperatName { get; set; }

	/// <summary>
	/// 操作的数据
	/// </summary>
	[SugarColumn(ColumnDataType = "text")]
	public string? Data { get; set; }

	/// <summary>
	/// 机构Id
	/// </summary>
	public long? OrgId { get; set; }

	/// <summary>
	/// 用户id
	/// </summary>
	public long? UserId { get; set; }

	/// <summary>
	/// 名称
	/// </summary>
	public string? RealName { get; set; }

	/// <summary>
	/// 组织机构名称
	/// </summary>
	public string? OrgName { get; set; }
}
